class Torchwood extends GuaAnimation {
    static new(game) {
        let p = new this(game, animationTorchwood)
        p.setup()
        return p
    }

    setup() {
        // row表示在草地的第几排
        this.row = -1
        this.cooldown = 5
        this.score = 150
        this._sleep = true
    }

    awake() {
        this._sleep = false
    }

    sleep() {
        this._sleep = true
    }

    fire() {
        //
        if (this.boom) {
            this.changeAnimation('fire')
        }
    }

    update() {
        super.update()
        this.fire()
    }
}